package zhaixf.fx.DAO;

import org.apache.ibatis.annotations.Param;
import zhaixf.fx.been.Trouble;

import java.util.List;

public interface TroubleDAO {
    List<Trouble> queryByVersion(@Param("version") String version);

    List<Trouble> getAllTrouble();
    int add(Trouble trouble);
    int del(Trouble trouble);
}
